﻿<UserControl x:Class="UniversalEditor._3d.Viewport.ViewportView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:viewport="clr-namespace:UniversalEditor._3d.Viewport"
             xmlns:helix="clr-namespace:HelixToolkit.Wpf;assembly=HelixToolkit.Wpf"
             mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" d:DataContext="{x:Static viewport:ViewportViewModel.Designer}">
    <Grid>
		<helix:HelixViewport3D CameraRotationMode="Trackball" ModelUpDirection="0,1,0">
			<ModelVisual3D>
				<helix:DefaultLights/>
				<ModelVisual3D Content="{Binding Model}"/>
			</ModelVisual3D>
		</helix:HelixViewport3D>
	</Grid>
</UserControl>
